Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Oct 14, 2025

Follow-up to #14655

The code to format cacerts and certs_keys needs to check if the incoming value is a list or map, and skip it if not. This is the same pattern as used in a later function head:

format_socket_opts([Head = {Name, Value} | Tail], Acc) when is_list(Value) ->

It ensures that the code won't be called again on an already-formatted value.


This is an automatic backport of pull request #14714 done by Mergify.

Follow-up to #14655

The code to format `cacerts` and `certs_keys` needs to check if the
incoming value is a list or map, and skip it if not. This is the same
pattern as used in a later function head:

```
format_socket_opts([Head = {Name, Value} | Tail], Acc) when is_list(Value) ->
```

It ensures that the code won't be called again on an already-formatted
value.

(cherry picked from commit 275f0a4)
@michaelklishin michaelklishin added this to the 4.2.0 milestone Oct 14, 2025
@michaelklishin michaelklishin merged commit ec4a97b into v4.2.x Oct 15, 2025
289 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.2.x/pr-14714 branch October 15, 2025 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants